-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DevContainers support for editing project locally #1506
Conversation
This adds a Dockerfile and docker-compose.yaml in order to allow containerized local development.
@NyanKiyoshi is attempting to deploy a commit to the Saleor Commerce Team on Vercel. A member of the Team first needs to authorize it. |
@@ -1,4 +1,5 @@ | |||
{ | |||
"name": "saleor-docs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed otherwise the package-lock.json
file will change the application name from saleor-docs
to app
as NPM was trying to guess the name of the project
After some internal feedback, we will changing the pull request to add support for devcontainers instead |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This adds support for remote development using DevContainers, as well as plain-Dockerfile and docker-compose.yaml stack for containerized local development (with or without devcontainers, e.g., using
docker-compose up
command manually).Warning
It may be unstable, NPM often complains about
package-lock.json
file being outdated inmain
branch, something or someone may be pushing brokenpackage-lock.json
files which may prevent thedocker-compose
stack from running (usingnpm ci
)